lib: move memchr_inv()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:45:33 +0000 (14:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:45:33 +0000 (14:45 +0200)
commit47cb18e069695f889577fc3651227541820f502b
tree8eff42487db4ad5ccb857baeec019f7ee3c0031f
parentff2e37e64cab577951f1a095086dc2c59d9e7cba
lib: move memchr_inv()

Allow the function to be individually linkable, discardable, and
overridable.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/common/string.c
xen/lib/Makefile
xen/lib/memchr_inv.c [new file with mode: 0644]